import http from '@/common/utils/request.js'

export const lessee = {
	//获取列表
	getItemList(data){
		return http.get('/system/lessee/', {params:data, custom:{}})
	},
	//获取列表
	getItemListForP(data){
		return http.get('/system/lesseeForP/', {params:data, custom:{}})
	},
	//获取详情
	getItemById(data){
		return http.post('/system/lessee/getLesseeInfo/', data, {custom:{}})
	},
	//获取详情
	updateLessee(data){
		return http.post('/system/lessee/updateAction/', data, {custom:{}})
	},
	//商家入驻
	lesseeCheckin(data){
		return http.post('/system/lessee/lesseeCheckin/', data, {custom:{}})
	},
	//商家入驻
	getLesseeInfoForUserId(data){
		return http.post('/system/lessee/getLesseeInfoForUserId/', data, {custom:{}})
	},
	//租户数据
	lesseeData(data){
		return http.post('/system/lesseeForP/lesseeData/', data, {custom:{}})
	},
	
}